home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_302 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  531 b   |  22 lines

  1. on(press){
  2.    if(_root.micon._currentframe == 7 && _root.even7 >= 10)
  3.    {
  4.       _root.indicount = 100;
  5.       _root.indialogue = "Now everything is as it should be!";
  6.       _root.TUTS.nextFrame();
  7.       _root.even36 = 3;
  8.       _root.micon.gotoAndStop(1);
  9.       _root.sfx.gotoAndStop(3);
  10.       i = 1;
  11.       while(i < 40)
  12.       {
  13.          if(_root.inven["box" + i]._currentframe == 53)
  14.          {
  15.             _root.inven["box" + i].gotoAndStop(54);
  16.          }
  17.          i++;
  18.       }
  19.       gotoAndStop(54);
  20.    }
  21. }
  22.